﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MySql.Data.MySqlClient;

/// <summary>
/// Summary description for Companies
/// </summary>
public class Companies
{
  private const string STORED_PROCEDURE = "Companies_Get";
  DatabaseManager db;
  
  public Companies()
  {
    db = new DatabaseManager();
  }

  public MySqlDataReader GetCompanies()
  {
    return db.ExecuteStoredProcedure(STORED_PROCEDURE);
  }
}